Release 10.1A: OpenEdge Development:
Progress Dynamics Administration
DCU interface
The DCU is driven from one window that contains several component sections. Every aspect of the user interface can be customized, but the main DCU window must remain the same size. The components displayed on each page are defined in the deployment’s DCU driver file.
Figure 5–2 shows the sections of the main DCU window.
Figure 5–2: DCU interface
![]()
The DCU’s component frames are as follows:
- Bitmap frame — Contains a bitmap that is specified in the DCU driver file.
- Page frame — Contains a Progress 4GL frame that has been derived from the DCU’s template frame. The pages that are displayed in this frame are derived from DCU driver file.
- Button frame — Contains the buttons that are defined within the DCU driver file for each page of the DCU wizard.
Each page displayed by the DCU is a frame that has been defined using the template
src/install/intmplframe.w. There is little code inside the frame definition, because the behavior for all the controls is defined inside the DCU’s API and XML files. When a page is displayed, the actions defined in the XML file are associated with the appropriate event on the controls. Then, any necessary processing is activated.Users can even customize attributes of the individual controls that appear in the frame from within XML files by associating the attribute with the object’s variable name. During the process of displaying the page, the DCU API determines the name of each control and associates attributes with the control as necessary.
While you can build new pages for the DCU wizard using the template,
src/install/intmplframe.w, the existing pages can be adapted for most of your needs. If an existing page has an object that you do no need, you can hide it by adding a<Hidden>node to the corresponding XML control description.The DCU has two trigger procedures that work with objects on the Wizard pages. The trigger code for a button’s
CHOOSEevent runs thebtnChooseAPI, as follows:
For any other event for any object, there is a single API,
eventProc. It takes two parameters, the name of the UI event and the name of the object the event. The following example shows the code forLEAVEevent on a fill-in field:
To code any UI event on a page, you would add this code to the object’s trigger section, substituting the appropriate parameter values. The existing pages are stored in the
src\dynamics\install\objdirectory.Table 5–1 describes the existing frames.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |